﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020011E5 RID: 4581
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SpringRefreshCsReq : IMessage<SpringRefreshCsReq>, IMessage, IEquatable<SpringRefreshCsReq>, IDeepCloneable<SpringRefreshCsReq>, IBufferMessage
	{
		// Token: 0x17003A02 RID: 14850
		// (get) Token: 0x0600CD30 RID: 52528 RVA: 0x00228D29 File Offset: 0x00226F29
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SpringRefreshCsReq> Parser
		{
			get
			{
				return SpringRefreshCsReq._parser;
			}
		}

		// Token: 0x17003A03 RID: 14851
		// (get) Token: 0x0600CD31 RID: 52529 RVA: 0x00228D30 File Offset: 0x00226F30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SpringRefreshCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003A04 RID: 14852
		// (get) Token: 0x0600CD32 RID: 52530 RVA: 0x00228D42 File Offset: 0x00226F42
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SpringRefreshCsReq.Descriptor;
			}
		}

		// Token: 0x0600CD33 RID: 52531 RVA: 0x00228D49 File Offset: 0x00226F49
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpringRefreshCsReq()
		{
		}

		// Token: 0x0600CD34 RID: 52532 RVA: 0x00228D51 File Offset: 0x00226F51
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpringRefreshCsReq(SpringRefreshCsReq other) : this()
		{
			this.propEntityId_ = other.propEntityId_;
			this.floorId_ = other.floorId_;
			this.planeId_ = other.planeId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600CD35 RID: 52533 RVA: 0x00228D8E File Offset: 0x00226F8E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SpringRefreshCsReq Clone()
		{
			return new SpringRefreshCsReq(this);
		}

		// Token: 0x17003A05 RID: 14853
		// (get) Token: 0x0600CD36 RID: 52534 RVA: 0x00228D96 File Offset: 0x00226F96
		// (set) Token: 0x0600CD37 RID: 52535 RVA: 0x00228D9E File Offset: 0x00226F9E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PropEntityId
		{
			get
			{
				return this.propEntityId_;
			}
			set
			{
				this.propEntityId_ = value;
			}
		}

		// Token: 0x17003A06 RID: 14854
		// (get) Token: 0x0600CD38 RID: 52536 RVA: 0x00228DA7 File Offset: 0x00226FA7
		// (set) Token: 0x0600CD39 RID: 52537 RVA: 0x00228DAF File Offset: 0x00226FAF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FloorId
		{
			get
			{
				return this.floorId_;
			}
			set
			{
				this.floorId_ = value;
			}
		}

		// Token: 0x17003A07 RID: 14855
		// (get) Token: 0x0600CD3A RID: 52538 RVA: 0x00228DB8 File Offset: 0x00226FB8
		// (set) Token: 0x0600CD3B RID: 52539 RVA: 0x00228DC0 File Offset: 0x00226FC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PlaneId
		{
			get
			{
				return this.planeId_;
			}
			set
			{
				this.planeId_ = value;
			}
		}

		// Token: 0x0600CD3C RID: 52540 RVA: 0x00228DC9 File Offset: 0x00226FC9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SpringRefreshCsReq);
		}

		// Token: 0x0600CD3D RID: 52541 RVA: 0x00228DD8 File Offset: 0x00226FD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SpringRefreshCsReq other)
		{
			return other != null && (other == this || (this.PropEntityId == other.PropEntityId && this.FloorId == other.FloorId && this.PlaneId == other.PlaneId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600CD3E RID: 52542 RVA: 0x00228E34 File Offset: 0x00227034
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.PropEntityId != 0U)
			{
				num ^= this.PropEntityId.GetHashCode();
			}
			if (this.FloorId != 0U)
			{
				num ^= this.FloorId.GetHashCode();
			}
			if (this.PlaneId != 0U)
			{
				num ^= this.PlaneId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600CD3F RID: 52543 RVA: 0x00228EA5 File Offset: 0x002270A5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600CD40 RID: 52544 RVA: 0x00228EAD File Offset: 0x002270AD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600CD41 RID: 52545 RVA: 0x00228EB8 File Offset: 0x002270B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.PlaneId != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.PlaneId);
			}
			if (this.PropEntityId != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.PropEntityId);
			}
			if (this.FloorId != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.FloorId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600CD42 RID: 52546 RVA: 0x00228F30 File Offset: 0x00227130
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.PropEntityId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PropEntityId);
			}
			if (this.FloorId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FloorId);
			}
			if (this.PlaneId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PlaneId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600CD43 RID: 52547 RVA: 0x00228FA0 File Offset: 0x002271A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SpringRefreshCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.PropEntityId != 0U)
			{
				this.PropEntityId = other.PropEntityId;
			}
			if (other.FloorId != 0U)
			{
				this.FloorId = other.FloorId;
			}
			if (other.PlaneId != 0U)
			{
				this.PlaneId = other.PlaneId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600CD44 RID: 52548 RVA: 0x00229004 File Offset: 0x00227204
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600CD45 RID: 52549 RVA: 0x00229010 File Offset: 0x00227210
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					if (num != 40U)
					{
						if (num != 64U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.FloorId = input.ReadUInt32();
						}
					}
					else
					{
						this.PropEntityId = input.ReadUInt32();
					}
				}
				else
				{
					this.PlaneId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005256 RID: 21078
		private static readonly MessageParser<SpringRefreshCsReq> _parser = new MessageParser<SpringRefreshCsReq>(() => new SpringRefreshCsReq());

		// Token: 0x04005257 RID: 21079
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005258 RID: 21080
		public const int PropEntityIdFieldNumber = 5;

		// Token: 0x04005259 RID: 21081
		private uint propEntityId_;

		// Token: 0x0400525A RID: 21082
		public const int FloorIdFieldNumber = 8;

		// Token: 0x0400525B RID: 21083
		private uint floorId_;

		// Token: 0x0400525C RID: 21084
		public const int PlaneIdFieldNumber = 4;

		// Token: 0x0400525D RID: 21085
		private uint planeId_;
	}
}
